package T5_Sleep;
public class T5_Sleep extends Thread {    
    public void run() {    
        for (int i = 0; i < 10; i++) {    
            try {      
                Thread.sleep(100);    
                System.out.println("sleep 100 s ");    
            } catch (InterruptedException e) {    
                e.printStackTrace();    
            }    
        }    
    }    
    public static void main(String[] args) {    
        new T5_Sleep().start();    
    }    
}   
